<?php
class indexControl extends commonControl{
    function index(){
       $this->assign("uersname", $_SESSION["username"]);
       $this->display();
    }
    function welcome(){
    	$this->display();
    }
    //退出
    function out(){
    	session_unset();
    	session_destroy();
    	$this->success("已经安全退出","login/login");
    }
}